<?php
include "./core/mysql.php";
   session_start();
$ara = $_SESSION['name'];
$comment_id=$_POST['id'];
$Fabulous=$_POST['Fabulous'];
$sqll="DELETE FROM news_zan WHERE comment_id= '$comment_id' and user_name= '$ara' ";
 query($sqll); 
$sql="UPDATE tbl_comment SET Fabulous = '$Fabulous' WHERE id='$comment_id' ";
//执行query方法
query($sql); 
?>